package com.leinao.project.dto;

/**
 * @Description:    项目公开任务实体类
 * @Auther: weiwei
 * @Date: 2019/5/24 14:20
 * @Version 1.0
 */
public class ProjectPublicJobDto {

    /**
     * 主键
     */
    private Long id;

    /**
     * 项目任务Id  pai_project_job.id
     */
    private Long projectJobId;

    /**
     * 任务编号
     */
    private int codeNo;

    /**
     * 任务名
     */
    private String jobName;

    /**
     * 任务配置
     */
    private String config;

    /**
     * 项目Id
     */
    private Long projectId;

    /**
     * 项目名称
     */
    private String projectName;

    /**
     * 创建时间
     */
    private Long createTime;

    /**
     * 更新时间
     */
    private Long updateTime;

    /**
     * 删除标记 0：有效  1：删除
     */
    private Integer delFlag;

    /**
     * 任务类型  1：普通任务 2：调试任务，默认1
     */
    private Integer jobType;

    /**
     * 仓库代码分支标签
     */
    private String gitTag;

    /**
     * 引用其他项目的output
     */
    private String quoteOutputPath;

    /**
     * 超参数
     */
    private String hyperParameter;

    /**
     * 任务状态
     */
    private String state;

    /**
     * 操作类型状态
     */
    private String executionType;

    /**
     * 重试次数
     */
    private Integer retries;

    /**
     * 启动时间
     */
    private Long startedTime;

    /**
     * 结束时间
     */
    private Long completedTime;

    /**
     * 备注
     */
    private String remark;

    /**
     * 任务日志访问地址
     */
    private String jobLogUrl;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getProjectJobId() {
        return projectJobId;
    }

    public void setProjectJobId(Long projectJobId) {
        this.projectJobId = projectJobId;
    }

    public int getCodeNo() {
        return codeNo;
    }

    public void setCodeNo(int codeNo) {
        this.codeNo = codeNo;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getConfig() {
        return config;
    }

    public void setConfig(String config) {
        this.config = config;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getJobType() {
        return jobType;
    }

    public void setJobType(Integer jobType) {
        this.jobType = jobType;
    }

    public String getGitTag() {
        return gitTag;
    }

    public void setGitTag(String gitTag) {
        this.gitTag = gitTag;
    }

    public String getQuoteOutputPath() {
        return quoteOutputPath;
    }

    public void setQuoteOutputPath(String quoteOutputPath) {
        this.quoteOutputPath = quoteOutputPath;
    }

    public String getHyperParameter() {
        return hyperParameter;
    }

    public void setHyperParameter(String hyperParameter) {
        this.hyperParameter = hyperParameter;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getExecutionType() {
        return executionType;
    }

    public void setExecutionType(String executionType) {
        this.executionType = executionType;
    }

    public Integer getRetries() {
        return retries;
    }

    public void setRetries(Integer retries) {
        this.retries = retries;
    }

    public Long getStartedTime() {
        return startedTime;
    }

    public void setStartedTime(Long startedTime) {
        this.startedTime = startedTime;
    }

    public Long getCompletedTime() {
        return completedTime;
    }

    public void setCompletedTime(Long completedTime) {
        this.completedTime = completedTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getJobLogUrl() {
        return jobLogUrl;
    }

    public void setJobLogUrl(String jobLogUrl) {
        this.jobLogUrl = jobLogUrl;
    }



    @Override
    public String toString() {
        return "ProjectPublicJobDto{" +
                "id=" + id +
                ", projectJobId=" + projectJobId +
                ", codeNo=" + codeNo +
                ", jobName='" + jobName + '\'' +
                ", config='" + config + '\'' +
                ", projectId=" + projectId +
                ", projectName='" + projectName + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", delFlag=" + delFlag +
                ", jobType=" + jobType +
                ", gitTag='" + gitTag + '\'' +
                ", quoteOutputPath='" + quoteOutputPath + '\'' +
                ", hyperParameter='" + hyperParameter + '\'' +
                ", state='" + state + '\'' +
                ", executionType='" + executionType + '\'' +
                ", retries='" + retries + '\'' +
                ", startedTime=" + startedTime +
                ", completedTime=" + completedTime +
                ", remark='" + remark + '\'' +
                ", jobLogUrl='" + jobLogUrl + '\'' +
                '}';
    }
}
